package cn.com.twoke.app.pin_dou_dou.core;

import cn.hutool.core.lang.Version;
import lombok.Data;

/**
 * 更新信息
 */
@Data
public class UpdateInfo {
    private final Version version; // 最新版本
    private final String name; // release名称
    private final String description; // release描述
    private final String releaseUrl; // release页面URL
    private final String downloadUrl; // 下载URL

    public UpdateInfo(Version version, String name, String description, String releaseUrl, String downloadUrl) {
        this.version = version;
        this.name = name;
        this.description = description;
        this.releaseUrl = releaseUrl;
        this.downloadUrl = downloadUrl;
    }
}